quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.84k stars 2.7k forks source link

Kafka Dev UI create topic dialog disables the create button when using "-" in the name #30322

Open hguerrero opened 1 year ago

hguerrero commented 1 year ago

Describe the bug

When trying to create a topic in the Kafka Dev UI, if you type my-awesome-topic the Create button gets disabled. After that, there is no way to enable it back until a full page refresh is performed. Even using a valid name as the topic name.

Expected behavior

Button should be enabled back if the topic name is valid

Actual behavior

Button is disabled all the time.

How to Reproduce?

Start Kafka Dev UI

Go to topics

Click on the + button

Type my-awesome-topic, the button gets disabled

Delete the name and replace with topic

The button is still disabled.

Output of uname -a or ver

Darwin hguerrer-mac 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64

Output of java -version

openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment Temurin-11.0.16+8 (build 11.0.16+8) OpenJDK 64-Bit Server VM Temurin-11.0.16+8 (build 11.0.16+8, mixed mode)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.15.3.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /Users/hguerrer/.m2/wrapper/dists/apache-maven-3.8.6-bin/67568434/apache-maven-3.8.6 Java version: 11.0.16, vendor: Eclipse Adoptium, runtime: /Users/hguerrer/.sdkman/candidates/java/11.0.16-tem Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "13.1", arch: "x86_64", family: "mac"

Additional information

No response

quarkus-bot[bot] commented 1 year ago

/cc @alesj (kafka), @cescoffier (kafka), @ozangunalp (kafka)

cescoffier commented 1 month ago

Still no progress on this one unfortunately.

A PR is more than welcome.