BuggerSee
Mask is getting applied twice sometimes?
Hello guys,
I currently have a strange problem. It looks like sometimes (maybe at the first loading) the mask gets applied twice and this is impacting the user experience a lot unfortunately. My InputField is a custom TextInput
7 replies
Add custom rule to custom input
Hey all, I have a custom input that is working perfectly, but I want to add a custom rule set.
Currently my working code is like this:
I want to add this rules set to my OrcidInput.php class, so i don't need to repeat the rule everytime i create another OrcidInput.
Current OrcidInput:
4 replies
Custom Input use masking. (Money)
Hello, I want to create a custom input for money values. I just want to move this mask to the MoneyInput class, so i have less repeating code. Do i need to change the getMask function in order to do this?
This doesn't work:
7 replies
Display value of Pivot Table
Hello,
I'm currently looking for a better and more performant solution to display a pivot table attribute in my relationManager.
It is working right now and using formatStateUsing() but it is doing a lot of DB queries as you might see i use the SponsorType::find() function.
SponsorsRelationManager.php
12 replies
Set value of Component TextArea in FormAction
Hello, how can i change the value of a TextArea when a button is pressed? Currently have this code in the class that extends CreateRecord but the ->value() function doesnt work:
$forms = $this->getForms();
$form = Arr::first($forms);
$sqlComponent = $form->getComponents()[0];
$textArea = $sqlComponent->getChildComponents()[1];
$translatedSql = "translated";
$textArea->value($translatedSql);
55 replies