fix: Spaces are not allowed on widgets children names (tabs, menus, buttons etc.) (#11085)
* fix: Spaces are not allowed on widgets children names (tabs, menus, buttons etc.) -- Set trimValue prop to false with property controls such as TabControl, MenuItemsControl, ButtonListControl, PrimaryColumnsControl * fix: Spaces are not allowed on widgets children names (tabs, menus, buttons etc.) -- Make trimValue property default to false
This commit is contained in:
parent
5022df9192
commit
42b2dc80e2
|
|
@ -300,7 +300,7 @@ const TextInput = forwardRef(
|
|||
const [isFocused, setIsFocused] = useState(false);
|
||||
const [inputValue, setInputValue] = useState(props.defaultValue);
|
||||
|
||||
const { trimValue = true } = props;
|
||||
const { trimValue = false } = props;
|
||||
|
||||
const setRightSideRef = useCallback((ref: HTMLDivElement) => {
|
||||
if (ref) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user