Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow textarea boxes to dynamically set validator type and rule #18743

Merged

Conversation

eclarizio
Copy link
Member

@eclarizio eclarizio commented May 7, 2019

Currently, only regular text boxes can set their regex validations dynamically, but the below linked BZ was specifically testing with textarea boxes and thus wasn't getting the benefit of dynamic validation rule setting.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1694737

@miq-bot add_label bug, hammer/yes
@miq-bot assign @tinaafitz

@simaishi
Copy link
Contributor

simaishi commented May 7, 2019

@eclarizio Can you please change the BZ reference in the git commit message to https://bugzilla.redhat.com/show_bug.cgi?id=1694737 so 5.10.z clone https://bugzilla.redhat.com/show_bug.cgi?id=1702064 won't move to POST after PR is merged.

Copy link
Contributor

@d-m-u d-m-u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup yup

@eclarizio eclarizio force-pushed the allow_textarea_dynamic_attributes branch from 92a059d to f761aa3 Compare May 7, 2019 17:48
@eclarizio
Copy link
Member Author

@simaishi Sure, updated!

@miq-bot
Copy link
Member

miq-bot commented May 7, 2019

Checked commit eclarizio@f761aa3 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@mkanoor mkanoor merged commit 5bd2a9e into ManageIQ:master May 7, 2019
simaishi pushed a commit that referenced this pull request May 8, 2019
…butes

Allow textarea boxes to dynamically set validator type and rule

(cherry picked from commit 5bd2a9e)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702064
@simaishi
Copy link
Contributor

simaishi commented May 8, 2019

Hammer backport details:

$ git log -1
commit b739a7820ccec248a82111a32c8b095884094443
Author: Madhu Kanoor <mkanoor@redhat.com>
Date:   Tue May 7 14:40:00 2019 -0400

    Merge pull request #18743 from eclarizio/allow_textarea_dynamic_attributes
    
    Allow textarea boxes to dynamically set validator type and rule
    
    (cherry picked from commit 5bd2a9e8f2465282115ce843ce3b6d07e8efd551)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702064

@gmcculloug gmcculloug added this to the Sprint 111 Ending May 13, 2019 milestone May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants