material-components-ios icon indicating copy to clipboard operation
material-components-ios copied to clipboard

Enable subclassing

Open pramittewari opened this issue 3 years ago • 1 comments

I was trying to create a subclass of MCDOutlinedTextField and I noticed that the subclassing has been restricted. The reason for requesting the subclassing feature is that the developer can create one subclass and have the similar customised behaviour for each field as required without "import"ing in each view controller and having the same code repeated for each textfield.

I don't know if there is any specific reason for restricting but kindly consider the suggestion, it would make life a lot easier for the developers using these components. :)

pramittewari avatar Mar 24 '22 11:03 pramittewari

I need to subclass it for disabling paste/copy action, don't see any other way other than subclassing.

anuvednayakzc avatar Jun 06 '22 08:06 anuvednayakzc