add text inside the text

TextInput::make('amount')
->required(),
TextInput::make('amount')
->required(),
i have this simple textinput which shows me amount. its gives me numbers like 100, 200 and i want to gives him also symbol $ to be like that 100$, 200$ i try to find solution in docs but i cant. someone knows how i can do it?
1 Reply
gigiloouu
gigiloouuOP10mo ago
i found it.. its needed to use ->prefix()
Want results from more Discord servers?
Add your server