Problem/Motivation

I'd like to be able to use a https://www.drupal.org/project/select_or_other widget in a Custom field text field type.

Proposed resolution

Add a new SelectOrOtherWidget that uses isApplicable only if the select_or_other module is installed.
Add our own custom form elements similar to select_or_other module.

User interface changes

New custom field widget available.

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dave reid created an issue. See original summary.

apmsooner’s picture

Another option i suppose if they aren't responsive to the blocking issues is to just copy their element logic into our own maybe prefixed with 'custom_field' and then you'll have full control and not have dependency on select_or_other module. I've found sometimes that's easier in the long run but I'll leave that up to you.

apmsooner’s picture

Assigned: dave reid » Unassigned
Issue summary: View changes
Status: Active » Needs review

  • apmsooner committed 5c48a15e on 4.0.x authored by dave reid
    feat: #3590940 select_or_other widget for string, integer, and float...

apmsooner’s picture

Status: Needs review » Fixed

This has now been merged to both branches.

Documentation for new widget: https://project.pages.drupalcode.org/custom_field/plugins/widget/select-...

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

apmsooner’s picture

Status: Closed (fixed) » Fixed
apmsooner’s picture

Status: Fixed » Closed (fixed)