Input default callback not working
Why does the callback function successfully calculate the total value when used with the placeholder() method, but not with the default()

5 Replies
are you using the panel builder? What isn't working?
Because default is only when you are creating a record not editing a record.
You can use ->formatstateusing()
im using the table builder its a Repeater with a relationship orderproducts and for each row iwant to display a total = quantity * unite_price and save the total in the database (i get the total using placeholder but idont know how to make the total as the textinput default value ) @Tieme @Leandro Ferreira
i set the total when the quantity and the unite_price chnages it works fine but i dont know if this the best practice
