Not possible to select model in AI Settings with JS disabled

Created on 23 December 2024, 1 day ago

Problem/Motivation

For Functional (not FunctionalJavaScript) UI tests, we should be able to use the module without JS to ensure tests run sufficiently fast.

(Probably in general we should be able to use it, outside the context of tests)

Steps to reproduce

  • Disable JS
  • Attempt to select Provider then Model
  • Validation fails to let Model be selected

Proposed resolution

Support no JS in settings config

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.0

Component

AI Core module

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @scott_euser
  • Merge request !355Resolve #3495705 "Ai settings no js" → (Open) created by scott_euser
  • 🇬🇧United Kingdom scott_euser

    I'm not 100% sure this is the right solution (in fact there is a good chance its wrong).

    Form State should be able to give the value. Is there something in how we are doing validateForm or the ajax callback that is preventing that? In either case you currently cannot set up the basics of the module with JS disabled

Production build 0.71.5 2024