F
Filament2y ago
Abi

Setting helperText dynamically.

With a reactive select field, is there a way to set its helperText based on the selection?
5 Replies
Abi
AbiOP2y ago
actually, i need it for a TextInput field as well
awcodes
awcodes2y ago
I don’t remember if helper text accepts a callback or not. I think it does. If it does though, you can use the same closure based methods as any field.
Abi
AbiOP2y ago
ok, will give it a try. also, what is the difference between hint and helperText ?
awcodes
awcodes2y ago
Hint text shows near the label. Helper text shows under the input.
Dennis Koch
Dennis Koch2y ago
Why don’t you just try it? Takes 10secs 😅
Want results from more Discord servers?
Add your server