hellomoto Posted January 23, 2024 Share Posted January 23, 2024 Disabling textformatters: FieldtypeSomething > init() > parent::allowTextFormatters(false); Making the pattern readonly: InputfieldSomething > ___getConfigInputfields() > $f = $inputfields->get('pattern'); if($f) $f->attr('disabled', 'disabled'); To alter the pattern without reinstalling the Fieldtype, it isn't stored in the database? I can do it via API, but where is it stored? It's missing from the data column of the fields table for the field where all the other attributes are. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now