Untitled
unknown
plain_text
9 months ago
804 B
5
Indexable
why is there a difference when entering text in textarea in below code it is taking as capital letters
<TextareaControl
label={__('Custom Article Category Name', 'blackstone')}
help="Optional text that will override the category of this selected article."
value={customCategoryOne || ''}
onChange={(newCategory) => {
setAttributes({
customCategoryOne: newCategory || '',
});
}}
/>
but in below code it is taking as camel case can we do anything with this
<PanelRow>
<TextControl
label={__('Custom Article Category URL Override', 'blackstone')}
help="Optional date that will override the existing date of this selected article."
value={customCategoryUrlOne}
onChange={(customCategoryUrlOne) => {
setAttributes({ customCategoryUrlOne });
}}
/>
</PanelRow>Editor is loading...
Leave a Comment